<template>
  <div class="app-container">
    <el-form :inline="true">
      <el-form-item label="模型编码" prop="modelCode">
        <el-input
          v-model="queryParams.modelCode"
          placeholder="请输入模型编码"
          clearable
          style="width: 240px"
        />
      </el-form-item>
    </el-form>
    <el-row>
      <el-col></el-col>
      <el-col></el-col>
    </el-row>
  </div>
</template>

<script>
import { getCurrentInstance, reactive, toRefs } from 'vue';
import { PageTypeEnum } from '@/store/enums/PageTypeEnum';

export default {
  name: 'preview',
  setup() {
    const { proxy } = getCurrentInstance();
    const query = proxy.$route.query;
    console.log(query);

    const vueData = reactive({
      pageType: PageTypeEnum.APPLY,
      queryParams: {
        modelCode: '',
      },
    });

    return {
      ...toRefs(vueData),
    }
  }
}
</script>

<style scoped>

</style>